package com.zking.service.impl.lsc;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zking.dao.domain.Information;
import com.zking.dao.domain.Post;
import com.zking.dao.mapper.lsc.UserDao;
import com.zking.service.lsc.PostService;

@Service
public class PostServiceImpl implements PostService {

	@Autowired
	UserDao userDao;
	
	@Override
	public Post selectUserById(int id){
		Post post=userDao.selectUserById(id);
		return post;
	}

	@Override
	public Information selectId(int id) {
		Information information=userDao.selectId(id);
		return information;
	}

}
